<style>
    .tab-bar > li a{
        color: #777;
    }
    .tab-bar > li.active a{
        background-color: #f5f5f5;
        color: #111;
    }
    .tab-bar{
        background-color: #dddddd;
        border-top: solid 1px #dddddd;
    }
    /*body,html{*/
        /*overflow: hidden;*/
    /*}*/
    body {
        overflow-y: auto;
    }
</style>
<script>
    var tchInfo={{ tchInfo }};
    var tab='{{ tab }}';
</script>
<table style="height: 100%;width: 100%">
    <tr style="height: 48px">
        <td><div  style="width: 100%;background-color: #ccc;"><label id="title_school" style="text-align: center;font-size: 20px;width: 100%;margin: 10px;letter-spacing: 2px;">{% if tchList['prevId'] %} <a href="{{ url('tch/TchTab/')~tchList['prevId'] }}" class="btn btn-sm btn-default pull-left return" style="margin-right: 20px">上一个</a>{% endif %} {{ title }}  {% if tchList['nextId'] %} <a href="{{ url('tch/TchTab/')~tchList['nextId'] }}" class="btn btn-sm btn-default pull-right return" style="margin-right: 20px">下一个</a>{% endif %}</label></div></td>
    </tr>
    <tr>
        <td>
            <div class="smart-widget widget-dark" style="height: 100%;width: 100%;margin-bottom: 0px;border-top: 1px;">
                <div class="smart-widget-inner" style="height: 100%;width: 100%; background-color:#f5f5f5">
                    <div  class="widget-tab clearfix" >
                        <ul class="tab-bar" >
                            <li class="active"><a href="#style3Tab1" data-toggle="tab"> 基本情况</a></li>
                            {% if power['track'] %}
                            <li class=""><a href="#style3Tab2" data-toggle="tab"> 教师日志</a></li>
                            {% endif %}
                            {% if power['pClass'] %}
                            <li class=""><a href="#style3Tab3" data-toggle="tab"> 公开课</a></li>
                            {% endif %}
                            <li class=""><a href="#style3Tab4" data-toggle="tab">使用数据</a></li>
                            <li class=""><a href="#style3Tab5" data-toggle="tab">使用案例</a></li>
                            <li class=""><a href="#style3Tab6" data-toggle="tab">需求跟踪</a></li>
                            <li class=""><a href="#style3Tab7" data-toggle="tab">BUG跟踪</a></li>
                            <li class=""><a href="#style3Tab8" data-toggle="tab">资源跟踪</a></li>
                            <li class=""><a href="#style3Tab9" data-toggle="tab">应用反馈</a></li>
                        </ul>
                    </div>
                    <div class="smart-widget-body" style="height: 92%;width: 100%;padding-bottom: 0px;">
                        <div class="tab-content" style="height: 100%;width: 100%;">
                            <div class="tab-pane fade in active" id="style3Tab1" style="height: 100%;width: 100%;">
                                <form id="xh_form" class="xh-form"  method="post"  style="margin-left: 20px;">
                                    <div class="xh-area-form">
                                        <table >
                                            <tr>
                                                <td style="width: 95px;">姓名</td>
                                                <td style="width: 220px;"><input type="text" name="sUserName" ><input type="text" name="iUserId" style="display: none"></td>
                                                <td style="width: 95px;">性别</td>
                                                <td style="width: 220px">
                                                    <select type="text" name="iUserSex">
                                                        <option style="display: none" value="" selected>请选择</option>
                                                        {% for id,text in iUserSex %}
                                                            <option value="{{ id }}">{{ text }}</option>
                                                        {% endfor %}

                                                    </select>
                                                </td>
                                                <td style="width: 95px;">出生年月</td>
                                                <td style="width: 220px;"><input type="text" name="sBirthday" class="from-date"></td>
                                            </tr>
                                            <tr>
                                                <td>爱好</td>
                                                <td><input type="text" name="sHobby"></td>
                                                <td>学校</td>
                                                <td><input type="text" name="sSchoolName" readonly><input type="text" name="iSchoolId" style="display: none" ></td>
                                                <td>联系方式</td>
                                                <td><input type="text" name="sSelfPhone"></td>
                                            </tr>
                                            <tr>
                                                <td>职务</td>
                                                <td><input type="text" name="sDuty"></td>
                                                <td>当前年级</td>
                                                <td>
                                                    <select type="text" name="iCurGrade">
                                                        <option style="display: none" value="" selected>请选择</option>
                                                        {% for id,text in iCurGrade %}
                                                            <option value="{{ id }}">{{ text }}</option>
                                                        {% endfor %}
                                                    </select>
                                                </td>
                                                <td>当前学科</td>
                                                <td>
                                                    <select type="text" name="iSubject">
                                                        <option style="display: none" value="" selected>请选择</option>
                                                        {% for id,text in iSubject %}
                                                            <option value="{{ id }}">{{ text }}</option>
                                                        {% endfor %}
                                                    </select>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>优秀教师</td>
                                                <td>
                                                    <select type="text" name="bExcellent">
                                                        <option selected value="" style="display: none">请选择</option>
                                                        <option value="1">是</option>
                                                        <option value="0">否</option>
                                                    </select>
                                                </td>
                                                <td>重要教师</td>
                                                <td>
                                                    <select type="text" name="bImportant">
                                                        <option selected value="" style="display: none">请选择</option>
                                                        <option value="1">是</option>
                                                        <option value="0">否</option>
                                                    </select>
                                                </td>
                                                <td>是否历史</td>
                                                <td>
                                                    <select type="text" name="bHistory">
                                                        <option value="1">是</option>
                                                        <option value="0">否</option>
                                                    </select>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>公司讲师</td>
                                                <td>
                                                    <select type="text" name="bMine">
                                                        <option selected value="" style="display: none">请选择</option>
                                                        <option value="1">是</option>
                                                        <option value="0">否</option>
                                                    </select>
                                                </td>
                                                <td>行政班级</td>
                                                <td>
                                                    <input type="text" name="sAdminClass">
                                                </td>
                                                <td>电子书包班级</td>
                                                <td>
                                                    <input type="text" name="sEBagClass">
                                                </td>

                                            </tr>
                                            <tr>

                                                <td>使用熟练程度</td>
                                                <td>
                                                    <select type="text" name="iProficiency">
                                                        <option style="display: none" value="" selected>请选择</option>
                                                        {% for id,text in iProficiency %}
                                                            <option value="{{ id }}">{{ text }}</option>
                                                        {% endfor %}
                                                    </select>
                                                </td>
                                                <td>所授学科</td>
                                                <td colspan="3">
                                                    <select type="text" id="sSubjects" name="sSubjects[]" multiple >
                                                        {% for id,text in iSubject %}
                                                            <option value="{{ id }}">{{ text }}</option>
                                                        {% endfor %}
                                                    </select>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td>是否计入考核</td>
                                                <td>
                                                    <select type="text" name="iType">
                                                        <option style="display: none" value="" selected>请选择</option>
                                                        {% for id,text in iType %}
                                                            <option value="{{ id }}">{{ text }}</option>
                                                        {% endfor %}
                                                    </select>
                                                </td>
                                                <td>考核日志</td>
                                                <td>
                                                    <select type="text" name="bStatsLog">
                                                        <option value="1">是</option>
                                                        <option value="0">否</option>
                                                    </select>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>评价</td>
                                                <td colspan="5"><textarea rows="4" name="mEvaluate"></textarea></td>
                                            </tr>
                                            {% if power["info"] %}
                                            <tr>
                                                <td></td>
                                                <td colspan="5">
                                                    <a id="save" class="btn btn-sm btn-success xh-btn-load" style="margin-right: 5px;">保存</a>
                                                    {#<a class="btn btn-sm btn-default return" style="margin-right: 20px">返回</a>#}
                                                </td>
                                            </tr>
                                            {% endif %}

                                        </table>
                                    </div>
                                </form>
                            </div><!-- ./tab-pane -->
                            {% if power["track"] %}
                            <div class="tab-pane fade"  id="style3Tab2" style="height: 100%;width: 100%">
                                <iframe  name="track"  src="{{ url('frontend/tch/tchTrack?iUserId=')~iUserId }}"  style="width: 100%;height: 100%;border-style: none;padding: 0px;"  scrolling="yes"   ></iframe>
                            </div><!-- ./tab-pane -->
                            {% endif %}
                            {% if power["pClass"] %}
                            <div class="tab-pane fade"  id="style3Tab3" style="height: 100%;width: 100%">
                                <iframe  name="publicClass"  src="{{ url('frontend/tch/pClassList?iUserId=')~iUserId }}"  style="width: 100%;height: 100%;border-style: none;padding: 0px;"  scrolling="yes"   ></iframe>
                            </div><!-- ./tab-pane -->
                            {% endif %}
                            <div class="tab-pane fade"  id="style3Tab4" style="height: 100%;width: 100%">
                                <iframe  name=""  src="{{ url('tch/tchApp?schoolId=')~schoolId~'&userId='~iUserId }}"  style="width: 100%;height: 100%;border-style: none;padding: 0px;"  scrolling="yes"   ></iframe>
                            </div><!-- ./tab-pane -->
                            <div class="tab-pane fade"  id="style3Tab5" style="height: 100%;width: 100%">
                                <iframe  name="msgList"  src="{{ url('article/msgList?type=7&schoolId=')~schoolId~'&userId='~iUserId }}"  style="width: 100%;height: 100%;border-style: none;padding: 0px;"  scrolling="yes"   ></iframe>
                            </div><!-- ./tab-pane -->
                            <div class="tab-pane fade"  id="style3Tab6" style="height: 100%;width: 100%">
                                <iframe  name="need"  src="{{ url('Track/trackTaskList?iTaskType=1&userId=')~iUserId~'&schoolId='~schoolId }}"  style="width: 100%;height: 100%;border-style: none;padding: 0px;"  scrolling="yes"   ></iframe>
                            </div><!-- ./tab-pane -->
                            <div class="tab-pane fade"  id="style3Tab7" style="height: 100%;width: 100%">
                                <iframe  name="bug"  src="{{ url('Track/trackTaskList?iTaskType=2&userId=')~iUserId~'&schoolId='~schoolId }}"  style="width: 100%;height: 100%;border-style: none;padding: 0px;"  scrolling="yes"   ></iframe>
                            </div><!-- ./tab-pane -->
                            <div class="tab-pane fade"  id="style3Tab8" style="height: 100%;width: 100%">
                                <iframe  name="scource"  src="{{ url('Track/trackTaskList?iTaskType=3&userId=')~iUserId~'&schoolId='~schoolId }}"  style="width: 100%;height: 100%;border-style: none;padding: 0px;"  scrolling="yes"   ></iframe>
                            </div><!-- ./tab-pane -->
                            <div class="tab-pane fade"  id="style3Tab9" style="height: 100%;width: 100%">
                                <iframe  name=""  src="{{ url('manage/feedback/feedback.html?schoolId=')~schoolId~'&userId='~iUserId }}"  style="width: 100%;height: 100%;border-style: none;padding: 0px;"  scrolling="yes"   ></iframe>
                            </div><!-- ./tab-pane -->
                        </div><!-- ./tab-content -->
                    </div>
                </div>
            </div> <!-- ./smart-widget -->
        </td>
    </tr>
</table>
















